package xyz.renyumeng.xkm.shop;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author renyumeng
 * @date Created in 16:00 2023/6/30
 */


@SpringBootApplication(
        scanBasePackages = {
                "xyz.renyumeng.xkm.shop",
                "xyz.renyumeng.xkm.exception",
                "xyz.renyumeng.xkm.config",
        }
)
@EnableDiscoveryClient
@EnableSwagger2
@EnableFeignClients(basePackages = "xyz.renyumeng")
public class ServiceShopApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceShopApplication.class, args);
    }
}
